#!/bin/bash

if [ -e ex3-3.sh ]
then
    echo "File existed."
fi

if [ ex4-1.sh -ot ex4-2.sh ]
then
    echo "File ex4-1 older than ex4-2."
else
    echo "File ex4-1 newer than ex4-2."
fi

if [ -d code ]
then
    echo "directory existed."
fi

exit 0
